package com.ditian.http.api;

import com.ditian.http.Key;

public abstract class Api {
	
	protected String apiKey;
	
	protected String apiSecret;

	protected String webUrl;
	
    
	public Api(String apiKey, String apiSecret) {
		super();
		this.apiKey = apiKey;
		this.apiSecret = apiSecret;
	}

	public Api(String apiKey, String apiSecret, boolean isInternationalVersion) {
		super();
		this.apiKey = apiKey;
		this.apiSecret = apiSecret;
		if(isInternationalVersion){
	            webUrl = Key.WEB_BASE_INTERNATIONAL;
	    }else{
	            webUrl = Key.WEB_BASE;
	    }
		
	}
	

	
}
